import request from '/@/utils/request'

// 字典数据列表
export const dataLists = (params?: any) => request.get('/dict/data/lists', params);

// 添加字典数据
export const dataAdd = (params?: any) => request.post('/dict/data/add', params);

// 编辑字典数据
export const dataEdit = (params?: any) => request.post('/dict/data/edit', params);

// 删除字典数据
export const dataDelete = (params?: any) => request.delete('/dict/data/delete', params);

// 字典数据详情
export const dataDetail = (params?: any) => request.get('/dict/data/detail', params);